Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(eds): Flattened, FlattenedODS, Equals #241

Merged
merged 10 commits into from
Jul 13, 2023

Conversation

rootulp
Copy link
Collaborator

@rootulp rootulp commented Jul 7, 2023

@rootulp rootulp self-assigned this Jul 7, 2023
extendeddatasquare_test.go Outdated Show resolved Hide resolved
@codecov
Copy link

codecov bot commented Jul 7, 2023

Codecov Report

❗ No coverage uploaded for pull request base (main@964ba61). Click here to learn what that means.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main     #241   +/-   ##
=======================================
  Coverage        ?   79.01%           
=======================================
  Files           ?        7           
  Lines           ?      591           
  Branches        ?        0           
=======================================
  Hits            ?      467           
  Misses          ?       74           
  Partials        ?       50           

extendeddatasquare.go Outdated Show resolved Hide resolved
extendeddatasquare.go Outdated Show resolved Hide resolved
@rootulp rootulp changed the title feat(eds): FlattenedEDS, FlattenedsODS, Equals feat(eds): FlattenedEDS, FlattenedODS, Equals Jul 7, 2023
@rootulp rootulp requested a review from Wondertan July 7, 2023 18:31
@rootulp rootulp marked this pull request as ready for review July 7, 2023 18:31
extendeddatasquare.go Show resolved Hide resolved
Comment on lines +282 to +293
if eds.originalDataWidth != other.originalDataWidth {
return false
}
if eds.codec.Name() != other.codec.Name() {
return false
}
if eds.chunkSize != other.chunkSize {
return false
}
if eds.width != other.width {
return false
}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would combine in one multi line if, but thats a nit/preference.

evan-forbes
evan-forbes previously approved these changes Jul 8, 2023
cmwaters
cmwaters previously approved these changes Jul 10, 2023
extendeddatasquare_test.go Outdated Show resolved Hide resolved
@rootulp rootulp dismissed stale reviews from cmwaters and evan-forbes via ce6d92c July 10, 2023 14:26
@rootulp rootulp enabled auto-merge (squash) July 10, 2023 19:56
staheri14
staheri14 previously approved these changes Jul 10, 2023
Copy link
Contributor

@staheri14 staheri14 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@rootulp rootulp changed the title feat(eds): FlattenedEDS, FlattenedODS, Equals feat(eds): Flattened, FlattenedODS, Equals Jul 11, 2023
@rootulp rootulp requested review from staheri14 and walldiss and removed request for walldiss and evan-forbes July 11, 2023 13:56
staheri14
staheri14 previously approved these changes Jul 11, 2023
Copy link
Contributor

@staheri14 staheri14 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

extendeddatasquare.go Outdated Show resolved Hide resolved
@rootulp
Copy link
Collaborator Author

rootulp commented Jul 12, 2023

@cmwaters @staheri14 ready for re-review

cmwaters
cmwaters previously approved these changes Jul 12, 2023
This reverts commit 2b22e3a.
@rootulp
Copy link
Collaborator Author

rootulp commented Jul 12, 2023

Accidentally pushed a commit to this branch, when it should be a separate PR

@rootulp rootulp requested a review from cmwaters July 12, 2023 15:42
@rootulp rootulp merged commit a8bd04b into celestiaorg:main Jul 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

api: add helper methods to EDS struct
6 participants